//
//  MGZImgsView.h
//  Demo
//
//  Created by lx on 2019/3/13.
//  Copyright © 2019 mgz. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Masonry.h>
#import "NSArray+MGZImgsView.h"
NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, MGZImgsViewLayoutType) {
    MGZImgsViewLayoutTypeNone,//相同大小
    MGZImgsViewLayoutTypeNine,//九宫格
    
};

typedef void(^MGZImgsViewClick)(NSInteger index);

@interface MGZImgsView : UIView

/**
 图片布局样式:默认大小/九宫格
 */
@property (nonatomic,assign)MGZImgsViewLayoutType imgsViewLayoutType;



/**
 图片数组
 */
@property (nonatomic,strong)NSMutableArray *imgsArr;

/**
 图片是否允许点击
 */
@property (nonatomic,assign)BOOL imgsEnabled;

@property (nonatomic,copy)MGZImgsViewClick imgClick;


@end

NS_ASSUME_NONNULL_END
